﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _5._22._1
{
    class CookRobot:Robot
    {
        public enum food
        {
            糖醋排骨,
            宫保鸡丁,
            福鼎肉片
        }
        private string foodname;

        public string Foodname { get => foodname; set => foodname = value; }

        public  CookRobot(string name,string foodname):base(name){
            this.foodname = foodname;
        }
        public override void Wroking()
        {
            Console.WriteLine("我是{0}，我在做{1}",this.name,this.foodname);
        }
    }
}
